import React, {useEffect} from 'react';
import {PageContainer} from '@ant-design/pro-layout';
import OrderList from "@/pages/order/components/orderList";

const DemandOrderList: React.FC<any> = (props) => {
  useEffect(() => {
    console.log(props)
  })
  return (
    <PageContainer>
      <OrderList type='REQUIREMENT' title='需求订单' queryId={props?.location?.query?.id ?? undefined} designerId={props?.location?.query?.designerId ?? undefined}/>
    </PageContainer>
  );
};

export default DemandOrderList;
